package com.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * DefineAnnotation--bdqnPractice
 *
 * @author: Jovi
 * @createTime: 2017-08-16 09:58
 **/
@Target({ElementType.TYPE,ElementType.FIELD,
ElementType.METHOD,ElementType.PARAMETER,ElementType.CONSTRUCTOR,
ElementType.LOCAL_VARIABLE})
@Retention(RetentionPolicy.RUNTIME)
public @interface DefineAnnotation {

    String name() default "jack";

    int age() default 12;

}
